<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>用户中心</title>
<link type="text/css" rel="stylesheet" href="static/css/style.css" />
<script type="text/javascript" src="static/js/jquery.js"></script>
<script type="text/javascript" src="static/js/Wdate/WdatePicker.js"></script>
</head>

<body class="gruyBg">
<div class="add_livePlan">
	<div class="livePlan_top">
		<dl class="s_time">
			<dt>开始时间：</dt>
			<dd><input class="Wdate2" id="s_date" name="" type="text" onFocus=="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',minDate:'%y-%M-{%d}'})"></dd>
		</dl>
		<dl class="h_time">
			<dt>持续时间：</dt>
			<dd><input name="" type="text" maxlength="3" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"> <span>分钟</span></dd>
		</dl>
	</div>
	<div class="planCnt_text">
		<h3>直播计划内容 <span class="f_12">（字数不超过<span id="other_tip">0/100</span>个）</span></h3>
		<textarea name="" cols="" rows="" onkeyup="txt_num(this,this.value)"></textarea>
<script type="text/javascript">
function txt_num(obj,val){
	var len = val.length;
	$("#other_tip").html(len+"/100"); 
	obj.value = obj.value.slice(0, 100);
	}
</script>
	</div>
</div>
</body>
</html>
